var userName = 'jspang';
var timeStamp = Date.parse(new Date());
var jsonDatabase = { "loginName":userName, "loginTime":timeStamp };
var db = connect('log'); // use log
db.login.insert(jsonDatabase); // 插入

print('[demo]:log print success');
